@import url("reset.css");

BODY {
	font-size: 0.8em;
	color: #FFFFFF;
	background: #000000 url(../images/bg-blue-dark.png) repeat 0 0;
	margin: 0; 
	padding: 0;
}

h1, h2, h3, h4, h5 { margin-bottom: 0.3em; font-weight: bold;	}
p { margin-bottom: 1em;	}

h1 { font-size: 1.8em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1.0em; }

a:link, a:visited, a:hover, a:active {
	color: #F26522;
	text-decoration: none;
}
a:visited {
	color: #E65906;	
}
a:hover {
	color: black;
	text-decoration: underline;	
}

/* IDs */

#page-wrapper {
	margin: 0 50px 10px 50px;
	position: relative;
}

/* TITLE */

#site-name {
	position: absolute;
	top: 0;
	right: 0;
	padding: 20px 20px 0 0;
	height: 60px;
}
#site-name span {
	display: none;
	font-family: Georgia, serif;
	font-size: 60px;
	color: #FFFFFF;
}

/* NAVIGATION */

#navigation {
	
}

/* level 1 */
#navigation ul {
	list-style: none; 
	position: relative;
}
#navigation ul li {
	display: block; 
	float: left; 
	margin: 50px 0 0 0; 
}
#navigation ul li a:link, 
#navigation ul li a:visited, 
#navigation ul li a:hover, 
#navigation ul li a:active {
	display: block; 
	text-decoration: none;
	text-align: center;
	font-family: trebuchet ms, verdana, arial, helvetica, sans-serif;
	font-weight: bold;
	background: #4a4a4a url(../images/gradient-gray.png) 0 0 repeat-x;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	color: #000000;
	height: 25px;
	padding: 12px 12px 0 12px;
	margin: 0 0 0 10px;
}
#navigation ul li a:hover {
	color: #000000;
	background-color: #FFFFFF;
}

/* level 2 */
#navigation ul li ul {
	position: absolute;
	background: #4a4a4a url(../images/gradient-gray.png) repeat-x 0 -37px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	padding: 0 0 0 0;
	width: 100%;
	height: 26px;
	left: 0;
}
#navigation ul li ul li {
	margin: 0 0 0 5px; 
	padding: 0; 
}
#navigation ul li ul li a:link, 
#navigation ul li ul li a:visited, 
#navigation ul li ul li a:hover, 
#navigation ul li ul li a:active {
	display: block; 
	text-decoration: none;
	background: none;
	color: #000000;
	height: 18px;
	padding: 4px 10px 4px 10px;
	margin: 0 0 0 0;
}
#navigation ul li ul li a:hover {
	color: #000;
	background-color: #FFF;
}

/* level 3 */
#navigation ul li ul li ul {
	visibility: hidden;
	position: absolute;	
	padding: 0 0 0 0;
	width: auto;
	height: auto;
	left: auto;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	background-color: #CCCCCC;
}
#navigation ul li ul li ul li {
	display: block; 
	float: none; 
	margin: 0; 
	padding :0;
}
#navigation ul li ul li ul li a:link, 
#navigation ul li ul li ul li a:visited, 
#navigation ul li ul li ul li a:hover, 
#navigation ul li ul li ul li a:active {
	display: block;
	text-decoration: none;
	text-align: left;
	font-weight: normal;
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	background: none;
	color: #000000;
	width: 180px; 
	height: 16px; 
	padding: 7px 10px 7px 10px;
	margin: 0 0 0 0;
}
#navigation ul li ul li ul li a:hover {
	color: #000000;
	background-color: #FFFFFF;
}

/* level 3+ */
#navigation ul li ul li ul li ul {
	visibility: hidden;
	position: absolute;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	margin-left: 200px;
	margin-top: -30px;	
}

/* IE6 tweaks */
* html #navigation ul { }
* html #navigation ul li { }
* html #navigation ul li a:link, 
* html #navigation ul li a:visited, 
* html #navigation ul li a:hover, 
* html #navigation ul li a:active { width: 180px; }
* html #navigation ul li ul { }
* html #navigation ul li ul li { width: 100%; }
* html #navigation ul li ul li a:link, 
* html #navigation ul li ul li a:visited, 
* html #navigation ul li ul li a:hover, 
* html #navigation ul li ul li a:active { }

/* hover states */
#navigation ul li:hover a, #navigation ul li.open a { background: transparent url(../images/gradient-yellow.png) repeat-x 0 0; }
#navigation ul li:hover ul, 
#navigation ul li.open  ul { background: transparent url(../images/gradient-yellow.png) repeat-x 0 -37px; }

#navigation ul li ul { visibility: hidden; }
#navigation ul li:hover ul, 
#navigation ul li.open  ul { visibility: visible; }
#navigation ul li:hover ul li ul, 
#navigation ul li.open  ul li ul { visibility: hidden; }
#navigation ul li:hover ul li:hover ul, 
#navigation ul li.open  ul li.open  ul { visibility: visible; }
#navigation ul li:hover ul li:hover ul li ul, 
#navigation ul li.open  ul li.open  ul li ul { visibility: hidden; }
#navigation ul li:hover ul li:hover ul li:hover ul,
#navigation ul li.open  ul li.open  ul li.open  ul { visibility: visible; }
#navigation ul li:hover ul li:hover ul li:hover ul li ul,
#navigation ul li.open  ul li.open  ul li.open  ul li ul { visibility: hidden; }
#navigation ul li:hover ul li:hover ul li:hover ul li:hover ul,
#navigation ul li.open  ul li.open  ul li.open  ul li.open  ul { visibility: visible; }

/* selected states */
#navigation ul li.selected a { background: transparent url(../images/gradient-yellow.png) repeat-x 0 0; color: #FFFFFF; }
#navigation ul li.selected ul { background: transparent url(../images/gradient-yellow.png) repeat-x 0 -37px; }

#navigation ul li.selected ul { visibility: visible; }
#navigation ul li.selected ul li ul { visibility: hidden; }
#navigation ul:hover li.selected ul,
#navigation ul.open  li.selected ul { visibility: hidden; }
#navigation ul:hover li.selected:hover ul,
#navigation ul.open  li.selected.open  ul { visibility: visible; }
#navigation ul:hover li.selected:hover ul li ul,
#navigation ul.open  li.selected.open  ul li ul { visibility: hidden; }
#navigation ul:hover li.selected:hover ul li:hover ul,
#navigation ul.open  li.selected.open  ul li.open  ul { visibility: visible; }
#navigation ul:hover li.selected:hover ul li:hover ul li ul,
#navigation ul.open  li.selected.open  ul li.open  ul li ul { visibility: hidden; }
#navigation ul:hover li.selected:hover ul li:hover ul li:hover ul,
#navigation ul.open  li.selected.open  ul li.open  ul li.open  ul { visibility: visible; }
#navigation ul:hover li.selected:hover ul li:hover ul li:hover ul li ul,
#navigation ul.open  li.selected.open  ul li.open  ul li.open  ul li ul { visibility: hidden; }
#navigation ul:hover li.selected:hover ul li:hover ul li:hover ul li:hover ul,
#navigation ul.open  li.selected.open  ul li.open  ul li.open  ul li.open  ul { visibility: visible; }

#navigation-footer {
	clear: both;
	height: 26px;
	background: #4a4a4a url(../images/gradient-gray.png) repeat-x 0 -37px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
}

/* CONTENT */

#content-wrapper {
	clear: both;
	padding: 0 0 0 0;
	background-color: #FFFFFF;
	color: #000000;
}

#side-nav {
	float: left;
	width: 15%;
	padding: 5px 0 5px 5px;
}
#side-nav ul {
	list-style: none;	
	background: none;
}
#side-nav ul li {
	display: block;
}
#side-nav ul li ul {

}
#side-nav ul li a:visited,
#side-nav ul li a:link,
#side-nav ul li a:hover,
#side-nav ul li a:active {
	display: block;
	padding: 8px 5px 8px 15px;
	color: #000000;
	text-decoration: none;
}
#side-nav ul li a:hover {
	background-color: #000000;
	color: #FFFFFF;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#side-nav ul li a.selected:link, #side-nav ul li a.selected:visited, #side-nav ul li a.selected:active {
	background-color: #CCCCCC;
	color: #000000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#side-nav ul li ul li a:link,
#side-nav ul li ul li a:visited,
#side-nav ul li ul li a:hover,
#side-nav ul li ul li a:active {
	padding: 5px 5px 5px 30px;
}
#side-nav ul li ul li ul li a:link,
#side-nav ul li ul li ul li a:visited,
#side-nav ul li ul li ul li a:hover,
#side-nav ul li ul li ul li a:active {
	padding: 5px 5px 5px 45px;
}
#side-nav ul li ul li ul li ul li a:link,
#side-nav ul li ul li ul li ul li a:visited,
#side-nav ul li ul li ul li ul li a:hover,
#side-nav ul li ul li ul li ul li a:active {
	padding: 5px 5px 5px 60px;
}
#side-nav ul li ul li ul li ul li ul li a:link,
#side-nav ul li ul li ul li ul li ul li a:visited,
#side-nav ul li ul li ul li ul li ul li a:hover,
#side-nav ul li ul li ul li ul li ul li a:active {
	padding: 5px 5px 5px 75px;
}

#content {
	max-width: 82%;
	min-height: 500px;
	float: left;
	padding: 5px 5px 5px 5px;
}
* html #content {
	height: 500px;
}
#content ul {
  display: block;
  list-style-type: disc;
  margin: 1em 0;
  -moz-padding-start: 20px;
}
#content ul li ul {
  margin: 0;
}
#content ol {
  display: block;
  list-style-type: decimal;
  margin: 1em 0;
  -moz-padding-start: 40px;
}
#content li {
  display: list-item;
}

#content fieldset {
	display: block;
	margin: 0 0 1em 0;	
}
#content fieldset.spam-check {
	display: none;
}
#content label {
	display: block;
	float: left;
	width: 140px;	
}
#content input, #content select, #content textarea {
	display: block;
	float: left;
	width: 200px;
}
#content textarea {
	width: 320px;
	height: 120px;
}
#content input.button {
	width: auto;
}

#content.home {
	padding: 5px 10px 10px 10px;	
	width: 75%;
}

#content div.listing-image {
	float: left;	
	margin-right: 10px;
}

#content div.hr {
	clear: both;
	border-bottom: 1px solid #C0C0C0;
	font-size: 1px;
	height: 10px;	
	margin: 0 0 10px 0;
}
#content div.hr hr {
	display: none;
}

#side {
	float: right;
	width: 20%;
	padding: 5px 5px 5px 5px;
}
#side div.container {
	border: 1px solid #4A4A4A;
}
#side div.container h2 {
	background: #4a4a4a url(../images/gradient-gray.png) repeat-x 0 -37px;
	padding: 5px;
	margin: 0;
	color: #FFFFFF;	
}
#side div.container h3 {
	padding: 0 5px 0 5px;
	border-top: 1px solid #CCCCCC;
}
#side div.container p {
	padding: 0 5px 0 5px;
}

#breadcrumb {
	margin: 5px 0 30px 0;
}
#breadcrumb ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#breadcrumb ul li {
	display: block;
	float: left;
	padding: 0 4px 0 14px;
	background: transparent url(../images/pointer.png) no-repeat 0 50%;	
}
#breadcrumb ul li a:link,
#breadcrumb ul li a:visited,
#breadcrumb ul li a:hover,
#breadcrumb ul li a:active {
	text-decoration: none;
	color: #F26522;
}
#breadcrumb ul li a:hover {
	text-decoration: underline;
}

/* FOOTER */

#footer {
	background-color: #000;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	
}
#footer ul {
	list-style: none;
	margin: 0 0 0 5px;
	padding: 0 0 0 0;
}
#footer ul li {
	display: block;
	float: left;
	margin: 0 0 2px 5px;
}
#footer ul li a:link,
#footer ul li a:visited,
#footer ul li a:hover,
#footer ul li a:active {
	display: block;
	padding: 4px 4px 4px 4px;
	color: #FFF;
	text-decoration: none;
}
#footer ul li a:hover {
	color: #000;
	background-color: #FFF;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
}

#credits {
	margin: 0 50px 10px 50px;
}
#credits a:link,
#credits a:visited,
#credits a:hover,
#credits a:active { color:#333333; }

/* SHARED CLASSES */

.clear {
	clear: both;
}
.clear-hidden {
	clear: both;
	font-size: 1px;
	height: 1px;
}